using System;
using TimeSheetDAL;

namespace TimeSheetBLL
{

	[TableAttribute("chargeablehours")]
	[PrimaryKeyAttribute("ch_id", "ID")]
	[ColumnAttribute("project_id", "ProjectID")]
	[ColumnAttribute("user_id", "UserID")]
	[ColumnAttribute("charge_date", "ChargeDate")]
	[ColumnAttribute("charge_hours", "ChargeHours")]
	[ColumnAttribute("comments", "Comments")]
	public class ChargeableHours : IDBEntity
	{

		private long projectID;
		private long userID;
		private DateTime chargeDate;
		private double chargeHours;
		private string comments;
		private long iD;

		private string projectName;
		private string clientName;

		public ChargeableHours()
		{

		}

		public ChargeableHours( string projectName, string clientName, double chargeHours )
		{
			this.projectName = projectName;
			this.clientName = clientName;
			this.chargeHours = chargeHours;
		}

		public string ProjectName
		{
			get{ return this.projectName; }
			set{ this.projectName = value; }
		}

		public string ClientName
		{
			get{ return this.clientName; }
			set{ this.clientName = value; }
		}

		public long ID
		{

			get
			{
				return this.iD;
			}set
			 {
				 this.iD = value; 
			 }
		}

		public long ProjectID
		{

			get
			{
				return this.projectID;
			}set
			 {
				 this.projectID = value; 
			 }
		}

		public long UserID
		{

			get
			{
				return this.userID;
			}set
			 {
				 this.userID = value; 
			 }
		}

		public DateTime ChargeDate
		{

			get
			{
				return this.chargeDate;
			}set
			 {
				 this.chargeDate = value; 
			 }
		}

		public double ChargeHours
		{

			get
			{
				return this.chargeHours;
			}set
			 {
				 this.chargeHours = value; 
			 }
		}

		public string Comments
		{

			get
			{
				return this.comments;
			}set
			 {
				 this.comments = value; 
			 }
		}

	}//class
}//namespace